<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>form</title>
</head>

<body>
    <div id="app">
        <input type="text" v-model.number="age">
        <input type="text" v-model.trim="name">
        <input type="text" v-model.lazy="address">
        <span>{{address}}</span>

        <input type="submit" name="提交" value="提交">
    </div>

    <script type="text/javascript" src="js/vue.js"></script>
    <script type="text/javascript">
        var vm = new Vue({
            el: '#app',
            data: {
                age: '',
                name: '',
                address: ''
            },
            methods: {
                handle() {
                    console.log(this.address);
                }
            }
        });
    </script>
</body>

</html>